﻿using Swimj.CommonLib.Attributes;

namespace Production.CommonLib.Models
{
    public class TechnologyInfoResponseDto
    {
        public int Id { get; set; }


        /// <summary>
        /// 工艺路线编码
        /// </summary>
        /// <value></value>
        [TableColumn(DisplayText = "工艺路线编码")]
        public string? Code { get; set; }

        /// <summary>
        /// 工艺路线名称
        /// </summary>
        /// <value></value>
        [TableColumn(DisplayText = "工艺路线名称")]
        public string? Name { get; set; }

        /// <summary>
        /// 流程类型
        /// </summary>
        /// <value></value>
        [TableColumn(DisplayText = "流程类型")]
        public int ProcessType { get; set; }

        /// <summary>
        /// 生产类型
        /// </summary>
        /// <value></value>
        [TableColumn(DisplayText = "生产类型")]
        public int ProductionType { get; set; }

        /// <summary>
        /// 作业序号
        /// </summary>
        /// <value></value>
        [TableColumn(DisplayText = "作业序号")]
        public int Sort { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        /// <value></value>
        public string? Description { get; set; }

        public IEnumerable<TechnologyDetailInfoResponseDto>? Items { get; set; }

        public int StandardBomId { get; set; }

        public string? StandardBomCode { get; set; }

        public string? StandardBomName { get; set; }
    }
}